package com.roads.project.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.roads.common.annotation.Excel;
import com.roads.common.core.domain.BaseEntity;
import org.apache.poi.hpsf.Decimal;

import java.math.BigDecimal;

/**
 * 计量清单对象 pro_boq_meterage
 *
 * @author nhp
 * @date 2021-12-14
 */
public class ProBoqMeterage extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 计量清单ID
     */
    private Long meterageBoqId;

    /**
     * 计量清单编号
     */
    private String meterageBoqCode;

    /**
     * 计量类型 0:合同清单 1:变更清单
     */
    private String meterageBoqType;

    /**
     * 标段编码
     */
    private String institutionCode;

    /**
     * 标段清单编码
     */
    private String institutionBoqCode;

    /**
     * 清单编号
     */
    @Excel(name = "清单编码")
    @ExcelProperty(value = "清单编码", index = 0)
    private String boqCode;

    /**
     * 清单名称
     */
    @Excel(name = "清单名称")
    @ExcelProperty(value = "清单名称", index = 1)
    private String boqName;

    /**
     * 祖籍列表
     */
    private String ancestors;

    /**
     * 起始桩号
     */
    @Excel(name = "起始桩号")
    @ExcelProperty(value = "起始桩号", index = 2)
    private String beginStation;

    /**
     * 截止桩号
     */
    @Excel(name = "终止桩号")
    @ExcelProperty(value = "终止桩号", index = 3)
    private String endStation;

    /**
     * 显示排序
     */
    private BigDecimal orderNum;

    /**
     * 单位
     */
    private String unit;

    /**
     * 单价
     */
    private BigDecimal price;

    /**
     * 数量
     */
    @Excel(name = "数量")
    @ExcelProperty(value = "数量", index = 4)
    private BigDecimal amount;

    /**
     * 金额
     */
    private BigDecimal total;

    /**
     * 剩余数量
     */
    private BigDecimal remainderAmount;

    /**
     * 已计量数量
     */
    private BigDecimal alreadyAmount;

    /**
     * 剩余金额
     */
    private BigDecimal remainderTotal;

    /**
     * 已计量金额
     */
    private BigDecimal alreadyTotal;

    /**
     * 批复数量
     */
    private BigDecimal replayAmount;

    /**
     * 是否完成 N 未完成 Y 已完成
     */
    private String complete;

    /**
     * 分部
     */
    @Excel(name = "分部")
    @ExcelProperty(value = "分部", index = 5)
    private String place;

    /**
     * 分项
     */
    @Excel(name = "分项")
    @ExcelProperty(value = "分项", index = 6)
    private String item;

    /**
     * 图册图号
     */
    @Excel(name = "图册图号")
    @ExcelProperty(value = "图册图号", index = 7)
    private String blueprint;

    /**
     * 变更令号
     */
    private String changeOrderNo;

    /**
     * 序列号
     */
    private Integer serialNumber;

    public void setMeterageBoqId(Long meterageBoqId) {
        this.meterageBoqId = meterageBoqId;
    }

    public Long getMeterageBoqId() {
        return meterageBoqId;
    }

    public String getMeterageBoqCode() {
        return meterageBoqCode;
    }

    public void setMeterageBoqCode(String meterageBoqCode) {
        this.meterageBoqCode = meterageBoqCode;
    }

    public void setMeterageBoqType(String meterageBoqType) {
        this.meterageBoqType = meterageBoqType;
    }

    public String getMeterageBoqType() {
        return meterageBoqType;
    }

    public void setInstitutionCode(String institutionCode) {
        this.institutionCode = institutionCode;
    }

    public String getInstitutionCode() {
        return institutionCode;
    }

    public void setInstitutionBoqCode(String institutionBoqCode) {
        this.institutionBoqCode = institutionBoqCode;
    }

    public String getInstitutionBoqCode() {
        return institutionBoqCode;
    }

    public void setBoqCode(String boqCode) {
        this.boqCode = boqCode;
    }

    public String getBoqCode() {
        return boqCode;
    }

    public void setBoqName(String boqName) {
        this.boqName = boqName;
    }

    public String getBoqName() {
        return boqName;
    }

    public String getAncestors() {
        return ancestors;
    }

    public void setAncestors(String ancestors) {
        this.ancestors = ancestors;
    }

    public void setOrderNum(BigDecimal orderNum) {
        this.orderNum = orderNum;
    }

    public BigDecimal getOrderNum() {
        return orderNum;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getUnit() {
        return unit;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getTotal() {
        return total;
    }

    public void setTotal(BigDecimal total) {
        this.total = total;
    }

    public BigDecimal getRemainderAmount() {
        return remainderAmount;
    }

    public void setRemainderAmount(BigDecimal remainderAmount) {
        this.remainderAmount = remainderAmount;
    }

    public BigDecimal getAlreadyAmount() {
        return alreadyAmount;
    }

    public void setAlreadyAmount(BigDecimal alreadyAmount) {
        this.alreadyAmount = alreadyAmount;
    }

    public BigDecimal getReplayAmount() {
        return replayAmount;
    }

    public void setReplayAmount(BigDecimal replayAmount) {
        this.replayAmount = replayAmount;
    }

    public BigDecimal getRemainderTotal() {
        return remainderTotal;
    }

    public void setRemainderTotal(BigDecimal remainderTotal) {
        this.remainderTotal = remainderTotal;
    }

    public BigDecimal getAlreadyTotal() {
        return alreadyTotal;
    }

    public void setAlreadyTotal(BigDecimal alreadyTotal) {
        this.alreadyTotal = alreadyTotal;
    }

    public void setComplete(String complete) {
        this.complete = complete;
    }

    public String getComplete() {
        return complete;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public String getPlace() {
        return place;
    }

    public void setItem(String item) {
        this.item = item;
    }

    public String getItem() {
        return item;
    }

    public String getBlueprint() {
        return blueprint;
    }

    public void setBlueprint(String blueprint) {
        this.blueprint = blueprint;
    }

    public void setBeginStation(String beginStation) {
        this.beginStation = beginStation;
    }

    public String getBeginStation() {
        return beginStation;
    }

    public void setEndStation(String endStation) {
        this.endStation = endStation;
    }

    public String getEndStation() {
        return endStation;
    }

    public void setChangeOrderNo(String changeOrderNo) {
        this.changeOrderNo = changeOrderNo;
    }

    public String getChangeOrderNo() {
        return changeOrderNo;
    }

    public Integer getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(Integer serialNumber) {
        this.serialNumber = serialNumber;
    }

}
